package main

type X int
func (x *X) inc(){
	*x++
}

func (x *X) dec(){
	*x--
}

func main(){
	var x X
	x.inc()
	x.inc()
	x.inc()
	x.inc()
	x.dec()
	println(x)
}